<html>
    <head>
      <meta http-equiv="content-type" content="text/html;charset=utf-8">
      <title>Eidt</title>
      <style type="text/css">
        input{
            width: 200px;
            height: 30px;
        }
      </style>
    </head>
    <body>
    <form method="post" action="update">
      <h3>Edit Magazine</h3><br>
      Magazine time:<br>
      <input type="text" name="time" value="<%=@editVersion[:time]%>"><br>
      Theme:<br>
      <input type="text" name="theme" value="<%=@editVersion[:theme]%>"><br>
      Image Name:<br>
      <input type="text" name="imgName" value="<%=@editVersion[:imgName]%>"><br>
      Description:<br>
      <input name="id" style="display: none" value="<%=@editVersion[:id]%>">
      <textarea name="description"  style="width: 400px;height: 100px">
        <%=@editVersion[:description]%>
      </textarea><br>
      <input type="submit" value="save">
    </form>
    </body>
</html>